package com.itheima.service.impl;

import com.itheima.domain.TripNew;
import com.itheima.mapper.TripNewMapper;
import com.itheima.service.TripNewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Name TripNewServiceimpl
 * @Author BaiXin
 * @Date 2022-10-16 22:28
 */
@Service
public class TripNewServiceImpl implements TripNewService {
    @Autowired
    private TripNewMapper tripNewMapper;
    @Override
    public List<TripNew> findAll() {
        List<TripNew> tripNewList = tripNewMapper.findAll();
        return tripNewList;
    }
}
